package com.xilihui.xlh.business.entities;

import com.google.gson.annotations.SerializedName;
import com.xilihui.xlh.core.app.BaseEntity;

/**
 * Created by Administrator on 2018/9/14.
 */

public class PayEntity extends BaseEntity{

   
    private String ali_payment_params;

    public String getAli_payment_params() {
        return ali_payment_params;
    }

    public void setAli_payment_params(String ali_payment_params) {
        this.ali_payment_params = ali_payment_params;
    }

    /**
     * weixin_payment_params : {"appid":"wx086831d3499ea9c2","noncestr":"jh8VJASiaam4eC3cBblgXMEEbm69lhH4","package":"Sign=WXPay","partnerid":"1508468411","prepayid":"wx27100004626335d5b9dda90b0801130161","timestamp":1538013604,"sign":"1D92C020D12F064D51080CE9C0B3A011"}
     * code : weixin
     * order_info : {"order_price":"0.01","order_all_integral":0,"order_all_give_money":0,"order_all_id":226}
     */
    
    

    private WeixinPaymentParamsBean weixin_payment_params;
    private String code;
    private OrderInfoBean order_info;

    public WeixinPaymentParamsBean getWeixin_payment_params() {
        return weixin_payment_params;
    }

    public void setWeixin_payment_params(WeixinPaymentParamsBean weixin_payment_params) {
        this.weixin_payment_params = weixin_payment_params;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public OrderInfoBean getOrder_info() {
        return order_info;
    }

    public void setOrder_info(OrderInfoBean order_info) {
        this.order_info = order_info;
    }

    public static class WeixinPaymentParamsBean {
        /**
         * appid : wx086831d3499ea9c2
         * noncestr : jh8VJASiaam4eC3cBblgXMEEbm69lhH4
         * package : Sign=WXPay
         * partnerid : 1508468411
         * prepayid : wx27100004626335d5b9dda90b0801130161
         * timestamp : 1538013604
         * sign : 1D92C020D12F064D51080CE9C0B3A011
         */

        private String appid;
        private String noncestr;
        @SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private int timestamp;
        private String sign;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        @Override
        public String toString() {
            return "WeixinPaymentParamsBean{" +
                    "appid='" + appid + '\'' +
                    ", noncestr='" + noncestr + '\'' +
                    ", packageX='" + packageX + '\'' +
                    ", partnerid='" + partnerid + '\'' +
                    ", prepayid='" + prepayid + '\'' +
                    ", timestamp=" + timestamp +
                    ", sign='" + sign + '\'' +
                    '}';
        }
    }

    public static class OrderInfoBean {
        /**
         * order_price : 0.01
         * order_all_integral : 0
         * order_all_give_money : 0
         * order_all_id : 226
         */

        private String order_price;
        private String order_all_integral;
        private String order_all_give_money;
        private String order_all_id;

        public String getOrder_price() {
            return order_price;
        }

        public void setOrder_price(String order_price) {
            this.order_price = order_price;
        }

        public String getOrder_all_integral() {
            return order_all_integral;
        }

        public void setOrder_all_integral(String order_all_integral) {
            this.order_all_integral = order_all_integral;
        }

        public String getOrder_all_give_money() {
            return order_all_give_money;
        }

        public void setOrder_all_give_money(String order_all_give_money) {
            this.order_all_give_money = order_all_give_money;
        }

        public String getOrder_all_id() {
            return order_all_id;
        }

        public void setOrder_all_id(String order_all_id) {
            this.order_all_id = order_all_id;
        }

        @Override
        public String toString() {
            return "OrderInfoBean{" +
                    "order_price='" + order_price + '\'' +
                    ", order_all_integral='" + order_all_integral + '\'' +
                    ", order_all_give_money='" + order_all_give_money + '\'' +
                    ", order_all_id='" + order_all_id + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "PayEntity{" +
                "ali_payment_params='" + ali_payment_params + '\'' +
                ", weixin_payment_params=" + weixin_payment_params +
                ", code='" + code + '\'' +
                ", order_info=" + order_info +
                '}';
    }
}
